try:
    number = input("please input number:")
    print(100/int(number))
except Exception as e:
    print(e)
else: # 同等于java的catch，可以忽略不写
    print("没有发生异常")
finally:
    print("无论如何都会执行")